package parser;

public abstract interface PConstants {
	public static final short SITE_NUM = 4;
	public static final short TABLE_NUM = 4;
	//node type
	public static final short NODE_RELATION = 0;
	public static final short NODE_PROJECTION = 1;
	public static final short NODE_JOIN = 2;
	public static final short NODE_SEMIJOIN = 3;
	public static final short NODE_LESS = 4;
	public static final short NODE_LAEGER = 5;
	public static final short NODE_EQUAL = 6;
	public static final short NODE_LESS_EQUAL = 7;
	public static final short NODE_LARGER_EQUAL = 8;
	//command type
	public static final short SET_CONTROL_SITE = 1;
	public static final short SET_LOCAL_SITE = 2;
	public static final short CREATEDB = 3;
	public static final short CREATETABLE = 4;
	public static final short FRAGMENT = 5;
	public static final short INSERT = 6;
	public static final short DELETE = 7;
	public static final short IMPORT = 8;
	public static final short SELECT = 9;
	public static final short USE = 10;
	public static final short SHOWTABLES = 11;
	public static final short SHOWSITES = 12;
	//site type
	public static final short CLIENT = 0;
	public static final short CONSTROL_SITE = 1;
	public static final short LOCAL_SITE1 = 2;
	public static final short LOCAL_SITE2 = 3;
	public static final short LOCAL_SITE3 = 4;
	//fragment type
	public static final short HORIZONTAL = 1;
	public static final short VETICAL = 2;
}
